MIMETYPE

this enumeration allows us to describe the type of content the cgi class will be returning and allows us to programatically control the behavior of how the what the application is writing to stdout. I.E. if content is generally text/html generate the html headers * or if we are a text/plain (possibly a .csv or .txt) file behave this way.

Values

ValueMeaning
TEXT_HTML0
TEXT_HTML_NO_CACHE
TEXT_HTML_RAW
TEXT_HTML_NO_CACHE_RAW
TEXT_PLAIN
TEXT_PLAIN_NO_CACHE
RAW_TYPE

Meta